package com.axzhengxin.platform.common.props;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * ElasticSearchProps
 *
 * @author jiangnan
 * @date 2021/3/18
 */
@Data
@Component
@ConfigurationProperties(prefix = "elastic-search")
public class ElasticSearchProps {

    private String host;
    private int port;
    private String clusterName;
    private String elasticIndex;
    private String elasticType;

}
